.class public Lcom/estrongs/fs/impl/local/l;
.super Ljava/lang/Object;
.source "SuServiceAgent.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/fs/impl/local/l$b;
    }
.end annotation


# static fields
.field private static c:Lcom/estrongs/fs/impl/local/l;


# instance fields
.field private a:Landroid/content/Context;

.field private b:Ljava/text/NumberFormat;


# direct methods
.method private constructor <init>(Landroid/content/Context;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    invoke-static {}, Ljava/text/NumberFormat;->getInstance()Ljava/text/NumberFormat;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/fs/impl/local/l;->b:Ljava/text/NumberFormat;

    .line 3
    iput-object p1, p0, Lcom/estrongs/fs/impl/local/l;->a:Landroid/content/Context;

    const/4 p1, 0x1

    .line 4
    invoke-virtual {v0, p1}, Ljava/text/NumberFormat;->setMaximumFractionDigits(I)V

    return-void
.end method

.method public static a(Landroid/content/Context;)Lcom/estrongs/fs/impl/local/l;
    .locals 1

    .line 1
    sget-object v0, Lcom/estrongs/fs/impl/local/l;->c:Lcom/estrongs/fs/impl/local/l;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Lcom/estrongs/fs/impl/local/l;

    invoke-direct {v0, p0}, Lcom/estrongs/fs/impl/local/l;-><init>(Landroid/content/Context;)V

    sput-object v0, Lcom/estrongs/fs/impl/local/l;->c:Lcom/estrongs/fs/impl/local/l;

    goto :goto_0

    :cond_0
    if-eqz p0, :cond_1

    .line 3
    iput-object p0, v0, Lcom/estrongs/fs/impl/local/l;->a:Landroid/content/Context;

    .line 4
    :cond_1
    :goto_0
    sget-object p0, Lcom/estrongs/fs/impl/local/l;->c:Lcom/estrongs/fs/impl/local/l;

    return-object p0
.end method


# virtual methods
.method public a(Lcom/estrongs/fs/e;Ljava/lang/Object;)Z
    .locals 5

    .line 20
    check-cast p2, Lcom/estrongs/fs/impl/local/l$b;

    .line 21
    iget-boolean v0, p2, Lcom/estrongs/fs/impl/local/l$b;->c:Z

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    .line 22
    iget-object p2, p2, Lcom/estrongs/fs/impl/local/l$b;->d:Ljava/util/Queue;

    invoke-interface {p2, p1}, Ljava/util/Queue;->add(Ljava/lang/Object;)Z

    return v1

    .line 23
    :cond_0
    iget-boolean v0, p1, Lcom/estrongs/fs/e;->c:Z

    const/4 v2, 0x0

    if-eqz v0, :cond_1

    iget-boolean v0, p2, Lcom/estrongs/fs/impl/local/l$b;->f:Z

    if-eqz v0, :cond_1

    .line 24
    iput-boolean v2, p2, Lcom/estrongs/fs/impl/local/l$b;->f:Z

    return v1

    .line 25
    :cond_1
    iget-boolean v0, p2, Lcom/estrongs/fs/impl/local/l$b;->b:Z

    if-nez v0, :cond_2

    iget-object v0, p1, Lcom/estrongs/fs/e;->n:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/String;->charAt(I)C

    move-result v0

    const/16 v3, 0x2e

    if-ne v0, v3, :cond_2

    return v1

    .line 26
    :cond_2
    new-instance v0, Lcom/estrongs/fs/impl/local/k;

    iget-object v3, p1, Lcom/estrongs/fs/e;->a:Ljava/lang/String;

    iget-boolean v4, p1, Lcom/estrongs/fs/e;->m:Z

    invoke-direct {v0, v3, v4}, Lcom/estrongs/fs/impl/local/k;-><init>(Ljava/lang/String;Z)V

    .line 27
    iget-wide v3, p1, Lcom/estrongs/fs/e;->i:J

    invoke-virtual {v0, v3, v4}, Lcom/estrongs/fs/impl/local/k;->c(J)V

    .line 28
    iget-object v3, p1, Lcom/estrongs/fs/e;->n:Ljava/lang/String;

    invoke-virtual {v0, v3}, Lcom/estrongs/fs/a;->setName(Ljava/lang/String;)V

    .line 29
    iget-boolean v3, p1, Lcom/estrongs/fs/e;->c:Z

    if-eqz v3, :cond_3

    .line 30
    sget-object v3, Lcom/estrongs/fs/l;->c:Lcom/estrongs/fs/l;

    invoke-virtual {v0, v3}, Lcom/estrongs/fs/impl/local/k;->a(Lcom/estrongs/fs/l;)V

    goto :goto_0

    .line 31
    :cond_3
    sget-object v3, Lcom/estrongs/fs/l;->d:Lcom/estrongs/fs/l;

    invoke-virtual {v0, v3}, Lcom/estrongs/fs/impl/local/k;->a(Lcom/estrongs/fs/l;)V

    .line 32
    :goto_0
    iget-wide v3, p1, Lcom/estrongs/fs/e;->d:J

    invoke-virtual {v0, v3, v4}, Lcom/estrongs/fs/impl/local/k;->b(J)V

    .line 33
    iget-object p1, p1, Lcom/estrongs/fs/e;->o:Ljava/lang/String;

    invoke-virtual {v0, p1}, Lcom/estrongs/fs/impl/local/k;->b(Ljava/lang/String;)V

    .line 34
    invoke-static {}, Les/s80;->A()Les/s80;

    move-result-object p1

    if-eqz p1, :cond_4

    const/16 v3, 0xb

    new-array v4, v1, [Ljava/lang/Object;

    aput-object v0, v4, v2

    .line 35
    invoke-virtual {p1, v3, v4}, Les/s80;->b(I[Ljava/lang/Object;)V

    .line 36
    :cond_4
    iget-object p1, p2, Lcom/estrongs/fs/impl/local/l$b;->e:Ljava/util/List;

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return v1
.end method

.method public a(Ljava/lang/String;)Z
    .locals 0

    .line 37
    invoke-static {p1}, Lcom/estrongs/fs/impl/local/j;->d(Ljava/lang/String;)Lcom/estrongs/fs/e;

    move-result-object p1

    if-eqz p1, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method public a(Ljava/lang/String;JIILjava/lang/String;Ljava/lang/Object;)Z
    .locals 5

    .line 5
    move-object p5, p7

    check-cast p5, Lcom/estrongs/fs/impl/local/l$b;

    .line 6
    new-instance v0, Lcom/estrongs/fs/e;

    const-string v1, ""

    invoke-direct {v0, v1}, Lcom/estrongs/fs/e;-><init>(Ljava/lang/String;)V

    .line 7
    iput-object p6, v0, Lcom/estrongs/fs/e;->n:Ljava/lang/String;

    const/4 p6, 0x0

    .line 8
    invoke-virtual {p1, p6}, Ljava/lang/String;->charAt(I)C

    move-result v1

    const/16 v2, 0x65

    const/4 v3, 0x1

    const/16 v4, 0x64

    if-eq v1, v4, :cond_1

    invoke-virtual {p1, p6}, Ljava/lang/String;->charAt(I)C

    move-result v1

    if-ne v1, v2, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 v1, 0x1

    :goto_1
    iput-boolean v1, v0, Lcom/estrongs/fs/e;->c:Z

    if-eqz v1, :cond_2

    .line 9
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object p5, p5, Lcom/estrongs/fs/impl/local/l$b;->a:Ljava/lang/String;

    invoke-virtual {v1, p5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p5, v0, Lcom/estrongs/fs/e;->n:Ljava/lang/String;

    invoke-virtual {v1, p5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p5, "/"

    invoke-virtual {v1, p5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p5

    iput-object p5, v0, Lcom/estrongs/fs/e;->a:Ljava/lang/String;

    goto :goto_2

    .line 10
    :cond_2
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object p5, p5, Lcom/estrongs/fs/impl/local/l$b;->a:Ljava/lang/String;

    invoke-virtual {v1, p5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p5, v0, Lcom/estrongs/fs/e;->n:Ljava/lang/String;

    invoke-virtual {v1, p5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p5

    iput-object p5, v0, Lcom/estrongs/fs/e;->a:Ljava/lang/String;

    .line 11
    :goto_2
    iget-boolean p5, v0, Lcom/estrongs/fs/e;->c:Z

    if-eqz p5, :cond_3

    const-wide/16 p2, 0x0

    .line 12
    iput-wide p2, v0, Lcom/estrongs/fs/e;->d:J

    goto :goto_3

    .line 13
    :cond_3
    iput-wide p2, v0, Lcom/estrongs/fs/e;->d:J

    :goto_3
    int-to-long p2, p4

    .line 14
    iput-wide p2, v0, Lcom/estrongs/fs/e;->i:J

    const-wide/16 p4, 0x3e8

    mul-long p2, p2, p4

    .line 15
    iput-wide p2, v0, Lcom/estrongs/fs/e;->i:J

    const/16 p2, 0xa

    .line 16
    invoke-virtual {p1, v3, p2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p2

    iput-object p2, v0, Lcom/estrongs/fs/e;->o:Ljava/lang/String;

    .line 17
    invoke-virtual {p1, p6}, Ljava/lang/String;->charAt(I)C

    move-result p2

    const/16 p3, 0x6c

    if-eq p2, p3, :cond_4

    invoke-virtual {p1, p6}, Ljava/lang/String;->charAt(I)C

    move-result p1

    if-ne p1, v2, :cond_5

    .line 18
    :cond_4
    iput-boolean v3, v0, Lcom/estrongs/fs/e;->m:Z

    .line 19
    :cond_5
    invoke-virtual {p0, v0, p7}, Lcom/estrongs/fs/impl/local/l;->a(Lcom/estrongs/fs/e;Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method public b(Ljava/lang/String;)Ljava/util/List;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    const-string v0, "/"

    const/4 v1, 0x0

    if-nez p1, :cond_0

    return-object v1

    .line 1
    :cond_0
    :try_start_0
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    .line 2
    invoke-virtual {v2}, Lcom/estrongs/android/pop/l;->T()I

    move-result v2

    const/4 v3, 0x2

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v2

    invoke-virtual {v2}, Lcom/estrongs/android/pop/l;->k1()Z

    move-result v2

    .line 4
    new-instance v3, Ljava/util/HashMap;

    invoke-direct {v3}, Ljava/util/HashMap;-><init>()V

    .line 5
    new-instance v3, Ljava/util/LinkedList;

    invoke-direct {v3}, Ljava/util/LinkedList;-><init>()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    .line 6
    :try_start_1
    new-instance v4, Lcom/estrongs/fs/impl/local/l$b;

    invoke-direct {v4, p0, v1}, Lcom/estrongs/fs/impl/local/l$b;-><init>(Lcom/estrongs/fs/impl/local/l;Lcom/estrongs/fs/impl/local/l$a;)V

    .line 7
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 8
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/estrongs/fs/impl/local/l$b;->a:Ljava/lang/String;

    goto :goto_0

    .line 9
    :cond_1
    iput-object p1, v4, Lcom/estrongs/fs/impl/local/l$b;->a:Ljava/lang/String;

    .line 10
    :goto_0
    iput-boolean v2, v4, Lcom/estrongs/fs/impl/local/l$b;->b:Z

    const/4 v0, 0x0

    .line 11
    iput-boolean v0, v4, Lcom/estrongs/fs/impl/local/l$b;->c:Z

    .line 12
    iput-object v3, v4, Lcom/estrongs/fs/impl/local/l$b;->e:Ljava/util/List;

    .line 13
    invoke-static {p1, v4}, Lcom/estrongs/fs/impl/local/j;->a(Ljava/lang/String;Ljava/lang/Object;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_2

    :catch_0
    move-exception p1

    move-object v1, v3

    goto :goto_1

    :catch_1
    move-exception p1

    .line 14
    :goto_1
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    move-object v3, v1

    :goto_2
    return-object v3
.end method
